﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lottery.Base;

namespace Lottery.Real
{
    public sealed class SimpleNumbersSelector : INumbersSelector
    {
        public SimpleNumbersSelector(IEnumerable<int> numbers)
        {
            this.Numbers = numbers;
        }

        public IEnumerable<int> SelectNumbers(int numbersCount, IGameHistory gameHistory = null)
        {
            return this.Numbers.Take(numbersCount);
        }

        public IEnumerable<int> Numbers { get; set; }
    }
}
